package entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @Author Su
 * @Date 2025/4/29 21:51
 * @Version 1.0 （版本号）
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class KnowledgeBase {
    public enum AccessLevel {
        PRIVATE, PUBLIC
    }

    private int id;
    private String name;
    private String description;
    private int creatorId;
    private Date createdAt;
    private Date updatedAt;
    private AccessLevel accessLevel;

    // 构造方法、getter和setter
}